/*
 * File:   RollServiceImpl.h
 * Author: luk
 *
 * Created on February 28, 2015, 4:41 PM
 */

#ifndef ROLLSERVICEIMPL_H
#define	ROLLSERVICEIMPL_H

#include "RollService.h"
#include "DieService.h"

/*
You may not attempt a success roll if
your effective skill is less than 3 unless you
are attempting a defense roll
 */

class RollServiceImpl : public RollService {
private:
    DieService & dieService;

public:
    RollServiceImpl(DieService & dieService);

    virtual SuccessRollResult successRoll(int target);

    virtual int damageRoll(int dice, int add);
};

#endif	/* ROLLSERVICEIMPL_H */

